﻿@model HanGu.Entity.FileManage

@{
    ViewBag.Title = "上传文件";

    string fileexName = "*";
    if(TempData["IsPhoto"]!=null &&(bool)TempData["IsPhoto"]==true)
    {
        fileexName="*.jpg;*.jpeg;*.gif;*.png";
    }
}

@using (Html.BeginForm()) {

    
    <div style="float:left; margin:10px">
	<div id="fileQueue" class="fileQueue"></div>
	<input id="testFileInput" type="file" name="image" 
		uploader="Content/uploadify/scripts/uploadify.swf"
		cancelImg="Content/uploadify/cancel.png" 
		script="admin/FileManage/Upload" 
		scriptData="{PHPSESSID:'xxx', ajax:1}"
		fileQueue="fileQueue"
		onAllComplete="uploadifyAllComplete" 
		fileExt="*.jpg;*.jpeg;*.gif;*.png"
		fileDesc="*.jpg;*.jpeg;*.gif;*.png"/>
</div>
}

